import Layout from "@/view/layout/layout";

export default [
  {
    path: "/zy",
    component: Layout,
    redirect: "/zy/jq",
    name: "app.zy",
    meta: {
      title: "云资源管理",
      iconfont: "icon-yunziyuan"
    },
    children: [
      {
        path: "jq",
        component: () => import("@/view/pages/ziyuan/jiqun"),
        name: "app.zy.jq",
        meta: {
          title: "集群管理"
        }
      },
      {
        path: "jq/xq",
        component: () => import("@/view/pages/ziyuan/jiqunDetail"),
        name: "app.zy.jq.xq",
        meta: {
          title: "集群详情"
        },
        hidden: true
      },
      {
        path: "zj",
        component: () => import("@/view/pages/ziyuan/zhuji"),
        name: "app.zy.zj",
        meta: {
          title: "主机管理"
        }
      },{
        path: "zj/xq",
        component: () => import("@/view/pages/ziyuan/zhujiDetail"),
        name: "app.zy.zj.xq",
        meta: {
          title: "主机详情"
        },
        hidden: true
      },
      {
        path: "fz",
        component: () => import("@/view/pages/ziyuan/fuzai"),
        name: "app.zy.fz",
        meta: {
          title: "负载均衡"
        }
      },
      {
        path: "fz/xq",
        component: () => import("@/view/pages/ziyuan/fuzaiDetail"),
        name: "app.zy.fz.xq",
        meta: {
          title: "负载详情"
        },
        hidden: true
      },
      {
        path: "gx",
        component: () => import("@/view/pages/ziyuan/gongxiang"),
        name: "app.zy.gx",
        meta: {
          title: "共享存储"
        }
	  },
	  {
        path: "gx/xq",
        component: () => import("@/view/pages/ziyuan/gongxiangDetail"),
        name: "app.zy.gx.xq",
        meta: {
          title: "共享详情"
        },
        hidden: true
      },
    ]
  }
];
